package com.alignet.gn.service;

import java.util.List;

import com.alignet.gn.hibernate.TgnRole;
import com.alignet.gn.hibernate.TgnUser;

public interface RoleService {
	
	List<TgnRole> listaRoles();
	List<TgnUser> listaUsuarios(Integer idUser, Integer idRol);
	String eliminaRole(Integer id);
	String roleCreateInput();
	String registerRole(TgnRole rol, String cadena);
	String updateRole(TgnRole rol, String cadena);
	TgnRole obtieneRol(Integer idRole);
	String newRole();
	String registerRole(TgnRole role,String cadena,String actionxedit);
	void obtieneRol(TgnRole roleD);
	String updateRole(TgnRole role, String cadena, String actionxedit);
	void delete(TgnRole role);
	
}
